public class Test {


    public static void main(String[] args) {
        MyArraylist myArraylist = new MyArraylist();
        myArraylist.add(2);
        myArraylist.add(3);
        myArraylist.add(4);
        myArraylist.add(8);
        myArraylist.display();
        myArraylist.add(0,5);
        myArraylist.display();
    }
}
